import type SysUser from '../../typings/sysUser';
import knex from '../utils/knex';

export const getUserById = function (id: number): Promise<SysUser> {
    return knex('sys_user').where('id', id).first();
};
